package com.fulihui.systemcore.enums;

import org.near.toolkit.model.BaseEnum;

/**
 * 微信凭证类型
 * Created by Willard.Hu on 2016/3/4.
 */
public enum WechatTokenTypeEnum implements BaseEnum {

    ACCESS_TOKEN("ACCESS_TOKEN", "接口调用凭证"),

    JS_API_TICKET("JS_API_TICKET", "前端js api调用凭证"),

    ;

    private String code;
    private String desc;

    WechatTokenTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

}
